<template>
  <div>
         <Topbar/>
      <button @click="fun()">登录</button>
      <router-link to="/zhuce">注册</router-link>
      <img src="豆瓣首页.png" alt="">
  </div>
</template>

<script>
import Topbar from "@/components/topbar.vue"
export default {
    components:{
      Topbar
    },
    methods:{
        fun(){
            this.$router.push("/login")
        }
    }
}
</script>

<style>

</style>